package com.eveinfo.tools;

import android.content.Context;
import android.content.Intent;

import com.eveinfo.display.AttributesView;
import com.eveinfo.display.CategoriesView;
import com.eveinfo.display.CertificatesView;
import com.eveinfo.display.CharSkillView;
import com.eveinfo.display.PlannersView;
import com.eveinfo.display.SheetView;
import com.eveinfo.display.SkillView;
import com.eveinfo.display.WalletView;
import com.eveinfo.display.asset.ItemInfoView;
import com.eveinfo.display.asset.ItemView;
import com.eveinfo.display.asset.ShipView;

public class ActivityLauncher {

	public static void displaySkill(Context context, int typeID, int characterID) {
		Intent myIntent = new Intent(context, SkillView.class);
		myIntent.putExtra("characterID", characterID);
		myIntent.putExtra("typeID", typeID);
		context.startActivity(myIntent);
	}

	public static void displayCertificates(Context context, int typeID, int characterID) {
		Intent myIntent = new Intent(context, CertificatesView.class);
		myIntent.putExtra("characterID", characterID);
		myIntent.putExtra("typeID", typeID);
		context.startActivity(myIntent);
	}

	public static void displayShip(Context context, int itemID, int typeID) {
		Intent myIntent = new Intent(context, ShipView.class);
		myIntent.putExtra("itemID", itemID);
		myIntent.putExtra("typeID", typeID);
		context.startActivity(myIntent);
	}

	public static void displayItemInfo(Context context, int typeID) {
		Intent myIntent = new Intent(context, ItemInfoView.class);
		myIntent.putExtra("typeID", typeID);
		context.startActivity(myIntent);
	}

	public static void displayItem(Context context, int typeID) {
		Intent myIntent = new Intent(context, ItemView.class);
		myIntent.putExtra("typeID", typeID);
		context.startActivity(myIntent);
	}

	public static void displaySheet(Context context, int characterID) {
		Intent myIntent = new Intent(context, SheetView.class);
		myIntent.putExtra("characterID", characterID);
		context.startActivity(myIntent);
	}

	public static void displayAttributes(Context context, int characterID) {
		Intent myIntent = new Intent(context, AttributesView.class);
		myIntent.putExtra("characterID", characterID);
		context.startActivity(myIntent);
	}

	public static void displaySkills(Context context, int characterID) {
		Intent myIntent = new Intent(context, CharSkillView.class);
		myIntent.putExtra("characterID", characterID);
		context.startActivity(myIntent);
	}
	
	public static void displayPlanner(Context context, int characterID) {
		Intent myIntent = new Intent(context, PlannersView.class);
		myIntent.putExtra("characterID", characterID);
		context.startActivity(myIntent);
	}

	public static void displayWallet(Context context, int characterID) {
		Intent myIntent = new Intent(context, WalletView.class);
		myIntent.putExtra("characterID", characterID);
		context.startActivity(myIntent);
	}

	public static void displayCategories(Context context, int characterID) {
		Intent myIntent = new Intent(context, CategoriesView.class);
		myIntent.putExtra("characterID", characterID);
		context.startActivity(myIntent);
	}
}
